_h_i_g_h_e_r Returns the nearest higher or equivalent fraction in the
range.
_i_n_d_e_x__r_e_t_u_r_n Returns the index of lower.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
If successful, vvvvllllMMMMaaaattttcccchhhhFFFFrrrraaaaccccttttiiiioooonnnn and vvvvllllMMMMaaaattttcccchhhhFFFFllllooooaaaatttt return _T_R_U_E if _g_i_v_e_n is
numerically equal to a fraction in one of the fraction ranges in _r_a_n_g_e_s,
in which case _l_o_w_e_r and _h_i_g_h_e_r are returned numerically equal to _g_i_v_e_n,
with the smallest values for numerator and denominator within range. For
example, if given is 22/33, lower and higher could be 2/3 even if 22/33
is also in range.
vvvvllllMMMMaaaattttcccchhhhFFFFrrrraaaaccccttttiiiioooonnnn and vvvvllllMMMMaaaattttcccchhhhFFFFllllooooaaaatttt return _F_A_L_S_E otherwise. If _g_i_v_e_n is
between the highest and lowest fractions in all the fraction ranges in
_r_a_n_g_e_s, then _l_o_w_e_r is the closest fraction in _r_a_n_g_e_s of less value and
_h_i_g_h_e_r is the closest fraction in _r_a_n_g_e_s of greater value. If _g_i_v_e_n is
below the lowest fraction in _r_a_n_g_e_s, both _l_o_w_e_r and _h_i_g_h_e_r are that
lowest fraction, while if above both are the highest.
One use of this function is to make sure a _s_o_u_r_c_e and _d_r_a_i_n match
according to the _V_L__S_I_Z_E control ranges, so that the size of the window
can match the available ranges.
In the case of vvvvllllMMMMaaaattttcccchhhhFFFFllllooooaaaatttt the fraction is limited in precision, and may
not match fractions with denominators with ranges greater than 10,000
elements.
vvvvllllMMMMaaaattttcccchhhhFFFFrrrraaaaccccttttiiiioooonnnnIIIInnnnLLLLiiiisssstttt returns _T_R_U_E if _g_i_v_e_n is numerically equal to a
fraction in _l_i_s_t, in which case _l_o_w_e_r and _h_i_g_h_e_r are both some fraction
that is numerically equivalent to _g_i_v_e_n.
vvvvllllMMMMaaaattttcccchhhhFFFFrrrraaaaccccttttiiiioooonnnnIIIInnnnLLLLiiiisssstttt returns _F_A_L_S_E otherwise. If _g_i_v_e_n is between the
highest and lowest fractions in _l_i_s_t, then _l_o_w_e_r is the closest fraction
of less value and _h_i_g_h_e_r is the closest fraction of greater value. If
_g_i_v_e_n is below the lowest fraction in _l_i_s_t, both _l_o_w_e_r and _h_i_g_h_e_r are
that lowest fraction ( _i_n_d_e_x__r_e_t_u_r_n is 0). If _g_i_v_e_n is above the highest
fraction in _l_i_s_t, both _l_o_w_e_r and _h_i_g_h_e_r are that highest fraction
(_i_n_d_e_x__r_e_t_u_r_n is count - 1).
vvvvllllFFFFrrrraaaaccccttttiiiioooonnnnLLLLiiiisssstttt returns a list of fractions, with 0 occurring at most
once. The list is in numerical order, least first, with numerically
equivalent fractions in no particular order.
This function is intended for use with small fraction ranges, such as may
be found in the VL_RATE control description. Fraction ranges in the
ranges of VL_WINDOW controls or control structures can be too large for
this function, which allocates the memory for the list. If in doubt, use
vvvvllllFFFFrrrraaaaccccttttiiiioooonnnnCCCCoooouuuunnnntttt to see how big the list will be before using this